bootstrap.js ➔ ???   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 2
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
1
/** global: Vue */
2
window.Vue = require('vue');
3
4
require('vue-resource');
5
6
/** global: Larafolio */
7
Vue.http.interceptors.push((request, next) => {
8
    request.headers.set('X-CSRF-TOKEN', Larafolio.csrfToken);
9
10
    next();
11
});
12